package September6;

public class message_book {


    private String book_name;
    private String book_author;
    private String book_publisher;
    private int book_year;
    
    public message_book(String book_name, String book_author, String book_publisher, int book_year){
        this.book_name=book_name;
        this.book_author=book_author;
        this.book_publisher=book_publisher;
        this.book_year=book_year;
    }
    public String getBook_name() {
        return book_name;
    }

    public void setBook_name(String book_name) {
        this.book_name = book_name;
    }

    public String getBook_author() {
        return book_author;
    }

    public void setBook_author(String book_author) {
        this.book_author = book_author;
    }

    public String getBook_publisher() {
        return book_publisher;
    }

    public void setBook_publisher(String book_publisher) {
        this.book_publisher = book_publisher;
    }

    public int getBook_year() {
        return book_year;
    }

    public void setBook_year(int book_year) {
        this.book_year = book_year;
    }



    public void printInfo() {
         System.out.println("Book Name: "+book_name);
         System.out.println("Book Author: "+book_author);
         System.out.println("Book publisher: "+book_publisher);
         System.out.println("Book Year: "+book_year);
    }
}
